package org.example.yiyu.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.security.Timestamp;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DiaryQuery {
        private Long userId;//用户id
        private Integer tagId;//标签id
        private String content;//模糊查询
        private LocalDateTime startTime;//起始时间
        private LocalDateTime endTime;//结束时间
        private String sortField;//排序参考的字段
        private String sortOrder;//升降序排列
        private Integer page;//页数
        private Integer limit;//每页记录数
    }
